package com.smart.service;

import com.smart.entity.SiteInspection;
import com.smart.req.InspectionParam;
import com.smart.entity.SysInspectionRecord;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface InspectionRecordService extends IService<SysInspectionRecord>{

	/**
	 * @param param
	 * @return 保存巡查
	 */
	int save(InspectionParam param);

	/**
	 * @return 查询巡查列表
	 */
	IPage<SysInspectionRecord> findPage(int pageNum,int pageSize,String createTime);

	/**
	 * @param carNo
	 * @param carType
	 * @param createTime_start
	 * @param createTime_end
	 * @param pageNum
	 * @param pageSize
	 * @return 后台端分页查询
	 **/
	IPage<SysInspectionRecord> sysFindPage(String carNo,String carType,
										   String createTime_start, String createTime_end,
										   Integer pageNum, Integer pageSize);

}